Optimal. Leaf size=62 \[ -\frac {\cos (e+f x)}{a f \sqrt {a+b \sec ^2(e+f x)}}-\frac {2 b \sec (e+f x)}{a^2 f \sqrt {a+b \sec ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {4219, 277, 197}
\begin {gather*} -\frac {2 b \sec (e+f x)}{a^2 f \sqrt {a+b \sec ^2(e+f x)}}-\frac {\cos (e+f x)}{a f \sqrt {a+b \sec ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 277
Rule 4219
Rubi steps
\begin {align*} \int \frac {\sin (e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{x^2 \left (a+b x^2\right )^{3/2}} \, dx,x,\sec (e+f x)\right )}{f}\\ &=-\frac {\cos (e+f x)}{a f \sqrt {a+b \sec ^2(e+f x)}}-\frac {(2 b) \text {Subst}\left (\int \frac {1}{\left (a+b x^2\right )^{3/2}} \, dx,x,\sec (e+f x)\right )}{a f}\\ &=-\frac {\cos (e+f x)}{a f \sqrt {a+b \sec ^2(e+f x)}}-\frac {2 b \sec (e+f x)}{a^2 f \sqrt {a+b \sec ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.42, size = 64, normalized size = 1.03 \begin {gather*} -\frac {(a+2 b+a \cos (2 (e+f x))) (a+4 b+a \cos (2 (e+f x))) \sec ^3(e+f x)}{4 a^2 f \left (a+b \sec ^2(e+f x)\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 59, normalized size = 0.95
method | result | size |
derivativedivides | \(\frac {-\frac {1}{a \sec \left (f x +e \right ) \sqrt {a +b \left (\sec ^{2}\left (f x +e \right )\right )}}-\frac {2 b \sec \left (f x +e \right )}{a^{2} \sqrt {a +b \left (\sec ^{2}\left (f x +e \right )\right )}}}{f}\) | \(59\) |
default | \(\frac {-\frac {1}{a \sec \left (f x +e \right ) \sqrt {a +b \left (\sec ^{2}\left (f x +e \right )\right )}}-\frac {2 b \sec \left (f x +e \right )}{a^{2} \sqrt {a +b \left (\sec ^{2}\left (f x +e \right )\right )}}}{f}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 61, normalized size = 0.98 \begin {gather*} -\frac {\frac {\sqrt {a + \frac {b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right )}{a^{2}} + \frac {b}{\sqrt {a + \frac {b}{\cos \left (f x + e\right )^{2}}} a^{2} \cos \left (f x + e\right )}}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.36, size = 72, normalized size = 1.16 \begin {gather*} -\frac {{\left (a \cos \left (f x + e\right )^{3} + 2 \, b \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{a^{3} f \cos \left (f x + e\right )^{2} + a^{2} b f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sin {\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.51, size = 48, normalized size = 0.77 \begin {gather*} -\frac {\sqrt {a \cos \left (f x + e\right )^{2} + b} + \frac {b}{\sqrt {a \cos \left (f x + e\right )^{2} + b}}}{a^{2} f \mathrm {sgn}\left (\cos \left (f x + e\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 10.87, size = 155, normalized size = 2.50 \begin {gather*} -\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+1\right )\,\sqrt {a+\frac {b}{{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}}{2}\right )}^2}}\,\left (a+2\,a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}+8\,b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\right )}{2\,a^2\,f\,\left (a+2\,a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}+4\,b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________